<!--{template admin/header_tpl}-->

<div class="mainarea">
	<div class="maininner">
		<div class="tabs_header">
			<ul class="tabs">
				<li><a href="<!--{eval echo base_url()}-->admin/admin_brand/index/"><span>浏览品牌</span></a></li>
				<li class="null"><a href="<!--{eval echo base_url()}-->admin/admin_brand/add_brand/">添加品牌</a></li>
			</ul>
		</div>
<!--加载数据-->
		<form action="<!--{eval echo base_url()}-->admin/admin_brand/deletes" method="post" accept-charset="utf-8">

			<div class="bdrcontent">
				<table class="formtable" cellspacing="5" cellpadding="5">
						<th style="width:2em;">id</th>
						<th style="width:100px;">logo</th>
						<th>品牌名称</th>
						<th>品牌分类</th>
						<th>品牌公司</th>
						<th>品牌说明</th>
						<th>创建时间</th>
						<th>操作</th>
						<!--{loop $brands $brand}-->
						<tr>
							<td>{$brand[bid]}
								<input type="checkbox" name="ids[]" value="{$brand[bid]}" id="" value="{$brand[bid]}">
							</td>
							<td>
								 <a href="{$brand[logourl]}"><img src="{$brand[logourl]}" width="80"></a>
							</td>
							<td>{$brand[firstletter]}-{$brand[name]}</td>
							<td>{$brand[catname]}</td>
							<td>{$brand[company]}</td>
							<td>{$brand[note]}</td>
							<td><!--{date('Y-m-d H:i:s', $brand['dateline'])}--></td>
							<td><a href="<!--{eval echo base_url()}-->admin/admin_brand/edit_brand/{$brand['bid']}">编辑</a>　| 
								<a href="<!--{eval echo base_url()}-->admin/admin_brand/delete/{$brand['bid']}" onclick="return confirm('本操作不可恢复，确认删除？');">删除</a></td>
						<tr>
						<!--{/loop}-->
					</tr>
				</table>
			</div>
		<!--分页表单和删除按钮-->
			<div class="footactions">
				<input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选
				<input type="submit" name="batchsubmit" value="批量删除" onclick="return confirm('本操作不可恢复，确认删除？');" class="submit">
				<div class="pages">{$multi}</div>
			</div>
		</form>
	</div>
</div>
<div class="side">
	<!--{template admin/side}-->
</div>

<!--{template admin/footer_tpl}-->